import request from '/@/utils/request'

interface Menu extends Omit<defs.common.Menu, 'meta'> {
  meta: Partial<defs.common.RouteMeta>
}
export function getRouter() {
  return request<Partial<Menu>[]>({
    url: '/api/menu/router',
    method: 'get',
  })
}
